package com.hoshiicloud.user.service.organization;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.user.entity.organization.StoreOrganizationCategory;

import java.util.List;

/**
 * @Author:campchen
 * @Date:Created in 下午 04:01 2019/8/21
 * @PACKAGENAME com.hoshiicloud.user.service.organization
 * @Description
 */
public interface StoreOrganizationCategoryService extends IService<StoreOrganizationCategory> {
    IPage<StoreOrganizationCategory> getPage(IPage<StoreOrganizationCategory> page, QueryWrapper<StoreOrganizationCategory> queryWrapper, String key);

    StoreOrganizationCategory getById(Long id);

    boolean save(StoreOrganizationCategory entity);

    boolean updateById(StoreOrganizationCategory entity);

    boolean insertCategory4StoreOrganization(List<StoreOrganizationCategory> storeOrganizationCategories);
}
